if(!${input$entity}.level.isClientSide()) ${input$entity}.discard();